<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{dwtzForm.bundleName}"/>
    <head>
        <title>#{text['dwtzDetail.title']}</title>
        <meta name="heading" content="#{text['dwtzDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="dwtzForm">

<h:form id="dwtzForm" onsubmit="return validateDwtzForm(this)">

<h:inputHidden value="#{dwtzForm.dwtz.id}" id="id"/>
<h:inputHidden value="#{dwtzForm.dwtz.version}" id="version"/>

<h:panelGrid columns="6">

    
    
      <h:outputLabel styleClass="desc" for="xh" value="#{text['dwtz.xh']}"/>
    <t:message for="xh" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="xh" value="#{dwtzForm.dwtz.xh}" required="false" maxlength="255">
    </h:inputText>
     <h:outputLabel styleClass="desc" for="dwmc" value="#{text['dwtz.dwmc']}"/>
    <t:message for="dwmc" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="dwmc" value="#{dwtzForm.dwtz.dwmc}" required="false" maxlength="50">
    </h:inputText>
    
     <h:outputLabel styleClass="desc" for="zzjgdm" value="#{text['dwtz.zzjgdm']}"/>
    <t:message for="zzjgdm" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zzjgdm" value="#{dwtzForm.dwtz.zzjgdm}" required="false" maxlength="50">
    </h:inputText>
     <h:outputLabel styleClass="desc" for="dkkh" value="#{text['dwtz.dkkh']}"/>
    <t:message for="dkkh" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="dkkh" value="#{dwtzForm.dwtz.dkkh}" required="false" maxlength="50">
    </h:inputText>
    
     <h:outputLabel styleClass="desc" for="djzch" value="#{text['dwtz.djzch']}"/>
    <t:message for="djzch" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="djzch" value="#{dwtzForm.dwtz.djzch}" required="false" maxlength="50">
    </h:inputText>
     <h:outputLabel styleClass="desc" for="zczb" value="#{text['dwtz.zczb']}"/>
    <t:message for="zczb" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zczb" value="#{dwtzForm.dwtz.zczb}" required="false" maxlength="255">
    </h:inputText>
    
     <h:outputLabel styleClass="desc" for="tzfs" value="#{text['dwtz.tzfs']}"/>
    <t:message for="tzfs" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tzfs" value="#{dwtzForm.dwtz.tzfs}" required="false" maxlength="10">
    </h:inputText>
     <h:outputLabel styleClass="desc" for="tzbz" value="#{text['dwtz.tzbz']}"/>
    <t:message for="tzbz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tzbz" value="#{dwtzForm.dwtz.tzbz}" required="false" maxlength="20">
    </h:inputText>
   
     <h:outputLabel styleClass="desc" for="tzje" value="#{text['dwtz.tzje']}"/>
    <t:message for="tzje" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tzje" value="#{dwtzForm.dwtz.tzje}" required="false" maxlength="255">
    </h:inputText>
      <h:outputLabel styleClass="desc" for="zhrmb" value="#{text['dwtz.zhrmb']}"/>
    <t:message for="zhrmb" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zhrmb" value="#{dwtzForm.dwtz.zhrmb}" required="false" maxlength="255">
    </h:inputText>
    
     <h:outputLabel styleClass="desc" for="cgbl" value="#{text['dwtz.cgbl']}"/>
    <t:message for="cgbl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="cgbl" value="#{dwtzForm.dwtz.cgbl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="clsj" value="#{text['dwtz.clsj']}"/>
    <t:message for="clsj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="clsj" value="#{dwtzForm.dwtz.clsj}" required="false" maxlength="20">
    </h:inputText>
    
     <h:outputLabel styleClass="desc" for="szd" value="#{text['dwtz.szd']}"/>
    <t:message for="szd" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="szd" value="#{dwtzForm.dwtz.szd}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zyyw" value="#{text['dwtz.zyyw']}"/>
    <t:message for="zyyw" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zyyw" value="#{dwtzForm.dwtz.zyyw}" required="false" maxlength="50">
    </h:inputText>
    
    
    
    
</h:panelGrid>


 <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{dwtzForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty dwtzForm.dwtz.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{dwtzForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Dwtz')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
    
</h:form>

<v:validatorScript functionName="validateDwtzForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('dwtzForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>


<!--
    <h:outputLabel styleClass="desc" for="id" value="#{text['dwtz.id']}"/>
    <t:message for="id" styleClass="fieldError"/>
     <h:inputText styleClass="text medium" id="id" value="#{dwtzForm.dwtz.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['dwtz.id']}"/>
    </h:inputText>
      
    <h:outputLabel styleClass="desc" for="username" value="#{text['dwtz.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{dwtzForm.dwtz.username}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="operation" value="#{text['dwtz.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{dwtzForm.dwtz.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['dwtz.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{dwtzForm.dwtz.optdate}" required="false" maxlength="23">
    </h:inputText>
    
    -->